package com.imooc.joe_springmvc1.javaconfig;

/**
 * 使用功能类的bean
 * Created by joe on 16-8-9.
 */
public class UseFunctionService {

    private FunctionService functionService;

    public void setFunctionService(FunctionService functionService){
        this.functionService = functionService;
    }

    public String sayHello(String word){
        return functionService.sayHello(word);
    }
}
